<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>H+ 后台主题UI框架 - 空白页</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link rel="shortcut icon" href="../favicon.ico">
     <link href="__STATIC__/layout/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="__STATIC__/layout/css/font-awesome.css?v=4.4.0" rel="stylesheet">
     <!-- jqgrid-->
    <link href="__STATIC__/layout/css/animate.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/style.css?v=4.1.0" rel="stylesheet">
    <link href="__STATIC__/layout/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
    <link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
    <style>
          .radio-inline input[type=radio] {
            margin-top: 4px
        }
    </style>
</head>

<body style="color:#333;padding:3px;overflow-x: auto;">
    <!-- 标题 -->
    <div class="page-heade">
      <h1 class="title_color">所属TI费用效果评估</h1>
    </div>
    <!-- 标题 -->
    <div class="">
    <form action="" class="form-inline">
      <table class="table-bordered table">
           <tr>
            <td style="min-width: 100px;width: 100px"><label for="" >申请类型：</label></td>
            <td> 
             <label class="radio-inline">
                  <input type="radio" name="type_id" id="inlineRadio1" value="2" {if $data.type_id==2} checked {/if} >常规促销
            </label>
             <label class="radio-inline">
                  <input type="radio" name="type_id" id="inlineRadio2" value="0" {if $data.type_id==0} checked {/if}>非常规促销
            </label>
             <label class="radio-inline">
                  <input type="radio" name="type_id" id="inlineRadio3" value="1" {if $data.type_id==1} checked {/if}>进场
            </label>
             <label class="radio-inline">
                  <input type="radio" name="type_id" id="inlineRadio4" value="3" {if $data.type_id==3} checked {/if}>所有
            </label>
            </td>
            <td style="min-width: 100px;width: 100px"><label for="">非常规促销类型：</label></td>
            <td><select name="nofomaltyp" id="" class="form-control"  style="min-width: 100px;width: 100px">
                    <option value="0" {if $data.nofomaltyp==0} selected {/if}>所有</option>
                    <option value="1" {if $data.nofomaltyp==1} selected {/if}>经销商类</option>
                    <option value="2" {if $data.nofomaltyp==2} selected {/if}>网点类</option>
            </select>
            </td>
             <td style="min-width: 100px;width: 100px" >申请状态</td>
            <td>
                    <select name="stype" id="" class="form-control"  style="min-width: 100px;width: 100px">
                    <option value="0" {if $data.stype==0} selected {/if}>所有</option>
                    <option value="1" {if $data.stype==1} selected {/if}>已通过</option>
                    <option value="2" {if $data.stype==2} selected {/if}>申请中</option>
            </select>
            </td>
            <td style="min-width: 100px;width: 100px" >编号</td>
            <td><input type="text" class="form-control" name="apsn" value="{$data.apsn}"></td>
           </tr>
            <tr>
             <td style="min-width: 100px;width: 100px" >分区</td>
            <td><input type="text" class="form-control" name="fenqu" value="{$data.fenqu}"></td>
            <td style="min-width: 100px;width: 100px"  >省份</td>
            <td><input type="text" class="form-control" name="sheng" value="{$data.sheng}"></td>
            <td style="min-width: 100px;width: 100px" >城市</td>
            <td><input type="text" class="form-control" name="shi" value="{$data.shi}"></td>
            <td style="min-width: 100px;width: 100px" >通用支付方式</td>
            <td><input type="text" class="form-control" name="pay" value="{$data.pay}"></td>
           </tr>
            <tr>
              <td style="min-width: 100px;width: 100px" >经销商编号</td>
            <td><input type="text" class="form-control" name="jsn" value="{$data.jsn}"></td>
            <td style="min-width: 100px;width: 100px" >经销商名称</td>
            <td><input type="text" class="form-control" name="jxs" value="{$data.jxs}"></td>
            <td style="min-width: 100px;width: 100px" >系统名称</td>
            <td><input type="text" class="form-control" name="sys" value="{$data.sys}"></td>
            <td style="min-width: 100px;width: 100px" >网点名称</td>
            <td><input type="text" class="form-control" name="net" value="{$data.net}"></td>
          </tr>
          
           <tr>
            <td style="min-width: 100px;width: 100px" >产品编码</td>
            <td><input type="text" class="form-control" name="pno" value="{$data.pno}"></td>
            <td style="min-width: 100px;width: 100px" >产品名称</td>
            <td><input type="text" class="form-control" name="pname" value="{$data.pname}"></td>
            <td style="min-width: 100px;width: 100px" >申请人</td>
            <td><input type="text" class="form-control" name="ename" value="{$data.ename}"></td>
            <td style="min-width: 100px;width: 100px" >费用计入部门</td>
            <td><input type="text" class="form-control" name="jrbm" value="{$data.jrbm}"></td>
          </tr>
           <tr>
            <td style="min-width: 100px;width: 100px" >一级科目名称</td>
            <td><input type="text" class="form-control" name="k1" value="{$data.k1}"></td>
            <td style="min-width: 100px;width: 100px" >二级科目名称</td>
            <td><input type="text" class="form-control" name="k2" value="{$data.k2}"></td>
            <td style="min-width: 100px;width: 100px" >三级科目名称</td>
            <td><input type="text" class="form-control" name="k3" value="{$data.k3}"></td>
            <td style="min-width: 100px;width: 100px" >费用计入方案</td>
            <td><input type="text" class="form-control" name="jrfa" value="{$data.jrfa}"></td>
          </tr>
           <tr>
            <td style="min-width: 100px;width: 100px" >是否锁定</td>
            <td>
              <select name="lock" id="" class="form-control"  style="min-width: 100px;width: 100px">
                    <option value="0" {if $data.lock==0} selected {/if}>所有</option>
                    <option value="1" {if $data.lock==1} selected {/if}>锁定</option>
                    <option value="2" {if $data.lock==2} selected {/if}>未锁定</option>
            </select>
            </td>
              <td style="min-width: 100px;width: 100px" >是否要求核查</td>
            <td>
                    <select name="hc" id="" class="form-control"  style="min-width: 100px;width: 100px">
                    <option value="0" {if $data.hc==0} selected {/if}>所有</option>
                    <option value="1" {if $data.hc==1} selected {/if}>是</option>
                    <option value="2"{if $data.hc==2} selected {/if}>否</option>
            </select>
            </td>
            <td style="min-width: 100px;width: 100px" >是否要求反馈</td>
            <td>
                  <select name="fb" id="" class="form-control"  style="min-width: 100px;width: 100px">
                    <option value="0" {if $data.fb==0} selected {/if}>所有</option>
                    <option value="1" {if $data.fb==1} selected {/if}>是</option>
                    <option value="2" {if $data.fb==2} selected {/if}>否</option>
            </select>
            </td>
            <td style="min-width: 100px;width: 100px" >反馈状态</td>
            <td>
                    <select name="fbstate" id="" class="form-control"  style="min-width: 100px;width: 100px">
                    <option value="0" {if $data.fbstate==0} selected {/if}>所有</option>
                    <option value="1" {if $data.fbstate==1} selected {/if}>已反馈</option>
                    <option value="2" {if $data.fbstate==2} selected {/if}>未反馈</option>
            </select>
            </td>
          </tr>
          
          <tr>
           <td style="min-width: 100px;width: 100px" >收款方</td>
           <td>
               <label class="radio-inline">
                  <input type="radio" name="payee" id="inlineRadio11" value="0" {if $data.payee==0} checked {/if}>所有
            </label>
             <label class="radio-inline">
                  <input type="radio" name="payee" id="inlineRadio22" value="1" {if $data.payee==1} checked {/if}>经销商
            </label>
             <label class="radio-inline">
                  <input type="radio" name="payee" id="inlineRadio33" value="2" {if $data.payee==2} checked {/if}>供应商
            </label>
           </td>
               <td style="min-width: 100px;width: 100px" >申请部门</td>
                <td><input type="text" class="form-control" name="sde" value="{$data.sde}"></td>
                  <td style="min-width: 100px;width: 100px" >一级渠道</td>
                <td><input type="text" class="form-control" name="c1" value="{$data.c1}"></td>
                  <td style="min-width: 100px;width: 100px" >二级渠道</td>
                <td><input type="text" class="form-control" name="c2" value="{$data.c2}"></td>
          </tr>
          <tr>
             <td style="min-width: 100px;width: 100px" >开始时间</td>
            <td colspan="3">
             <div class="form-group">
            <input type="text" id="start1" class="form-control layer-date" style="height: 26px;display: inline-block;min-width: 100px;width: 100px" name="start_start" value="{$data.start_start}">
           </div>
            <div class="form-group">
                至
            </div>
           <div class="form-group">
            <input type="text" class="form-control layer-date" style="height: 26px;display: inline-block;min-width: 100px;width: 100px" id="end1" name="start_end" value="{$data.start_end}">
           </div>
            </td>
              <td style="min-width: 100px;width: 100px" >结束时间</td>
            <td colspan="3">
             <div class="form-group">
            <input type="text" id="start2" class="form-control layer-date" style="height: 26px;display: inline-block;min-width: 100px;width: 100px" name="end_start" value="{$data.end_start}">
           </div>
            <div class="form-group">
                至
            </div>
           <div class="form-group">
            <input type="text" class="form-control layer-date" style="height: 26px;display: inline-block;min-width: 100px;width: 100px" id="end2" name="end_end" value="{$data.end_end}">
           </div>
            </td>
            
          </tr>
          <tr>
            <td colspan="8" class="text-center">
                <button class="btn btn-info query" type="button">查询</button>
           <button class="btn btn-info emptyIf" type="button">清空查询条件</button>
           <button class="btn btn-info LendExcel" type="button">导出Excel</button>
            </td>
          </tr>
      </table>

    <table class="table table-bordered">
        <tr>
          <td>
            统计说明：<br>
            1.如果非常规促销类型选择了网点类型或经销商类，则不管申请类型选择何种，都只会统计非常规促销申请费用。<br>
            2.申请中的费用只统计新申请的，不包括异动中和取消中的。<br>
            3.费用分摊类型：按活动执行时间分摊，指按活动实际执行时间分摊费用;按财务记账时间分摊，指按财务实际记账时间分摊费用。
          </td>
        </tr>
    </table>
      <table class="table-bordered table">
          <tr class="info">
            <th class="text-center">序号</th>
            <th class="text-center">申请单状态</th>
            <th class="text-center">申请人</th>
            <th class="text-center">申请部门</th>
            <th class="text-center">编号</th>
            <th class="text-center">申请主题</th>
            <th class="text-center">明细编号</th>
            <th class="text-center">分区</th>
            <th class="text-center">省份</th>
            <th class="text-center">城市</th>
            <th class="text-center">经销商编号</th>
            <th class="text-center">经销商名称</th>
            <th class="text-center">系统编号</th>
            <th class="text-center">系统名称</th>
            <th class="text-center">网点编号</th>
            <th class="text-center">网点名称</th>
            <th class="text-center">一级渠道</th>
            <th class="text-center">二级渠道</th>
            <th class="text-center">品牌</th>
            <th class="text-center">毛利率</th>
            <th class="text-center">品类</th>
            <th class="text-center">系列</th>
            <th class="text-center">SKU</th>
            <th class="text-center">产品编号</th>
            <th class="text-center">产品</th>
            <th class="text-center">出厂价</th>
            <th class="text-center">网点供货价</th>
            <th class="text-center">零售价</th>
            <th class="text-center">申请时间</th>
            <th class="text-center">活动开始时间</th>
            <th class="text-center">活动结束时间</th>
            <th class="text-center">预计核销时间</th>
            <th class="text-center">原活动开始时间</th>
            <th class="text-center">原活动结束时间</th>
            <th class="text-center">原批复编号</th>
            <th class="text-center">活动类型</th>
            <th class="text-center">是否要求核查</th>
            <th class="text-center">核查状态</th>
            <th class="text-center">核查结果</th>
            <th class="text-center">费用计入部门</th>
            <th class="text-center">费用支付方式</th>
            <th class="text-center">费用计入方案</th>
            <th class="text-center">是否锁定</th>
            <th class="text-center">收款方</th>
            <th class="text-center">一级科目名称</th>
            <th class="text-center">二级科目名称</th>
            <th class="text-center">三级科目名称</th>
            <th class="text-center">预计未税金额</th>
            <th class="text-center">实际未税金额</th>
            <th class="text-center">税率</th>
            <th class="text-center">是否增值税</th>
            <th class="text-center">实际含税金额</th>
            <th class="text-center">预计投入金额</th>
            <th class="text-center">实际投入金额</th>
            <th class="text-center">是否要求反馈</th>
            <th class="text-center">反馈状态</th>
            <th class="text-center">核销状态</th>
            <th class="text-center">核销单号</th>
            <th class="text-center">已核销金额</th>
            <th class="text-center">核销中金额</th>
            <th class="text-center">未核销金额</th>
            <th class="text-center">是否给予核销</th>
            <th class="text-center">不予核销金额</th>
            <th class="text-center">可核销余额</th>
            <th class="text-center">预计销量(数量)</th>
            <th class="text-center">预计销量(金额)</th>
            <th class="text-center">基准销量(金额)</th>
            <th class="text-center">预计增量销量(金额)</th>
            <th class="text-center">预计ROI</th>
            <th class="text-center">实际销量(数量)(反馈)</th>
            <th class="text-center">实际销量(金额)(反馈)</th>
            <th class="text-center">实际增量销量(金额)(反馈)</th>
            <th class="text-center">销售达成率</th>
            <th class="text-center">实际ROI</th>
           
            <th class="text-center">备注</th>
          </tr>
          {volist name="apply" id="vo"}
          <tr>
            <td style="min-width: 100px">{$i}</td>
            <td style="min-width: 100px">{if $vo.status==7}已通过{else/}申请中{/if}</td>
            <td style="min-width: 100px">{$vo.em_name}</td>
            <td style="min-width: 100px">{$vo.de_name}</td>
            <td style="min-width: 100px">{if $vo.type_id==0}<a class="J_menuItem" href="{:url('ti_apply2/view',['id'=>$vo.apid])}">{elseif $vo.type_id==1}<a class="J_menuItem"  href="{:url('Tijinchang/view',['id'=>$vo.apid])}">{else/}<a class="J_menuItem"  href="{:url('ti_apply/apply_de',['aid'=>$vo.apid])}">{/if}{$vo.apsn}</a></td>
            <td style="width: 100px;min-width: 100px">{$vo.title}</td>
            <td style="min-width: 100px">{$vo.apsn}_{$vo.apdsn}</td>
             <td style="width: 100px;min-width: 100px">{$vo.fenqu}</td>
             <td style="width: 100px;min-width: 100px">{$vo.sheng}</td>
             <td style="width: 100px;min-width: 100px">{$vo.shi}</td>
              <td style="width: 100px;min-width: 100px">{$vo.jsn}</td>
             <td style="min-width: 180px;width: 180px">{$vo.jxs}</td>
              <td style="min-width: 100px;width: 100px">{$vo.syssn}</td>
             <td style="min-width: 100px;width: 100px">{$vo.sys}</td>
              <td style="min-width: 100px;width: 100px">{$vo.netsn}</td>
             <td style="min-width: 100px;width: 100px">{$vo.net}</td>
             <td style="min-width: 100px;width: 100px">{$vo.ch1}</td>
             <td style="min-width: 100px;width: 100px">{$vo.ch2}</td>
             <td style="min-width: 100px;width: 100px">{$vo.brand}</td>
             <td style="min-width: 100px;width: 100px">{$vo.profit}%</td>
             <td style="min-width: 100px;width: 100px">{$vo.category}</td>
             <td style="min-width: 100px;width: 100px">{$vo.series}</td>
             <td style="min-width: 100px;width: 100px">{$vo.sku}</td>
             <td style="min-width: 100px;width: 100px">{$vo.pro_no}</td>
             <td style="min-width: 100px;width: 100px">{$vo.product}</td>
             <td style="min-width: 100px;width: 100px">{$vo.factory}</td>
             <td style="min-width: 100px;width: 100px">{$vo.wangdian_price}</td>
             <td style="min-width: 100px;width: 100px">{$vo.huodong_price}</td>
             <td style="min-width: 100px;width: 100px">{$vo.ctime}</td>
             <td style="min-width: 100px;width: 100px">{:date('Y-m-d',$vo.start)}</td>
             <td style="min-width: 100px;width: 100px">{:date('Y-m-d',$vo.end)}</td>
             <td style="min-width: 100px;width: 100px">{:date('Y-m-d',$vo.expCanTime)}</td>
             <td style="min-width: 100px;width: 100px">{if $vo.apdysn}{:date('Y-m-d',$vo.ystart)}{/if}</td>
             <td style="min-width: 100px;width: 100px">{if $vo.apdysn}{:date('Y-m-d',$vo.yend)}{/if}</td>
             <td style="min-width: 100px;width: 100px">{if $vo.apdysn}{$vo.apysn}-{$vo.apdysn}{/if}</td>
             <td style="min-width: 100px;width: 100px">{if $vo.type_id==0}非常规促销{elseif $vo.type_id==1}进场费用{else/}常规促销{/if}</td>
             <td style="min-width: 100px;width: 100px">{if $vo.sfyqhc==1}是{else/}否{/if}</td>
             <td style="min-width: 100px;width: 100px">{if $vo.hstate===0}核查中{elseif $vo.hstate===1/}已核查{/if}</td>
             <td style="min-width: 100px;width: 100px">{if $vo.result==1}通过{elseif $vo.result==2/}未通过{else/}无核查结果{/if}</td>
             <td style="min-width: 100px;width: 100px">{$vo.jrbm}</td>
              <td style="min-width: 100px;width: 100px">{$vo.zffs}</td>
              <td style="min-width: 100px;width: 100px">{$vo.jrfa}</td>
              <td style="min-width: 100px;width: 100px">{if $vo.is_lock==1}已锁定{else/}未锁定{/if}</td>
              <td style="min-width: 180px;width: 180px">{if $vo.payee==1}{$vo.gys_name}{else/}{$vo.jxs}{/if}</td>
              <td style="min-width: 100px;width: 100px">{$vo.ke1}</td>
              <td style="min-width: 100px;width: 100px">{$vo.ke2}</td>
              <td style="min-width: 100px;width: 100px">{$vo.ke3}</td>
              <td style="min-width: 100px;width: 100px" class="num2">{$vo.pizhunweishui}</td>
               <td style="min-width: 100px;width: 100px" class="num2">{$vo.fb_shijiweishui}</td>
               <td style="min-width: 100px;width: 100px"><span class="num2">{$vo.shuilv}</span>%</td>
               <td style="min-width: 100px;width: 100px">{if $vo.isVAT==1}是{else/}否{/if}</td>
               <td style="min-width: 100px;width: 100px" class="num2">{$vo.fb_hanshui}</td>
               <td style="min-width: 100px;width: 100px" class="num2">{$vo.yjsjtrfy}</td>
               <td style="min-width: 100px;width: 100px" class="num2">{$vo.fb_shijitourufeiyong}</td>
               <td style="min-width: 100px;width: 100px">{if $vo.sfxyfk==1}是{else/}否{/if}</td>
               <td style="min-width: 100px;width: 100px">{if $vo.sfxyfk==1}{if $vo.fb==1}已反馈{else/}未反馈{/if}{/if}</td>
                <td style="min-width: 100px;width: 100px">{if $vo.yihe==1}已核销{else/}未核销{/if}</td>
                <td style="min-width: 100px;width: 100px">{if $vo.yihe==1}{volist name="$vo.hexiao" id="h"}<a href="{:url('Tihexiao/view',['id'=>$h.id])}" class="J_menuItem">{$h.sn}</a><br/>{/volist}{else/}无{/if}</td>
                 <td style="min-width: 100px;width: 100px" class="num2">{$vo.yh}</td>
                 <td style="min-width: 100px;width: 100px" class="num2">{$vo.sqz}</td>
                 <td style="min-width: 100px;width: 100px" class="num2">{$vo.whx}</td>
                 <td style="min-width: 100px;width: 100px">{if $vo.hx_status==2}是{else/}否{/if}</td>
                 <td style="min-width: 100px;width: 100px" class="num2">{if $vo.hx_status==2}{$vo.hx_byhx}{/if}</td>
                 <td style="min-width: 100px;width: 100px" class="num2">{if $vo.hx_status==2}0{else/}{$vo.whx}{/if}</td>
               <td style="min-width: 100px;width: 100px" class="num2">{$vo.boxnum}</td>
               <td style="min-width: 100px;width: 100px" class="num2">{$vo.totalExpectedSales}</td>
                <td style="min-width: 100px;width: 100px" class="num2">{$vo.totalBenchmarkSales}</td>
                <td style="min-width: 100px;width: 100px" class="num2">{$vo.zeng}</td>
                <td style="min-width: 100px;width: 100px"><span class="num2">{$vo.yujiroi}</span>%</td>
                <td style="min-width: 100px;width: 100px" class="num2">{$vo.fb_boxnum}</td>
                <td style="min-width: 100px;width: 100px" class="num2">{$vo.fb_shijixiaoliang}</td>
                 <td style="min-width: 100px;width: 100px" class="num2">{$vo.fb_zeng}</td>
                  <td style="min-width: 100px;width: 100px"><span class="num2">{$vo.dacheng}</span>%</td>
                   <td style="min-width: 100px;width: 100px"><span class="num2">{$vo.shijiroi}</span>%</td>
                <td style="min-width: 100px;width: 100px">{$vo.beizhu}</td>
          </tr>
          {/volist}
         
      </table>
          <h5 class="text-center">
            总共有1条记录，第4页,当前页<input id="page" type="text" style="width: 40px" value="" /><span id="gopage">Go</span>&nbsp;&nbsp;<span id="fistpage">首页</span>&nbsp;&nbsp; 每页显示
            <select id="pagesize" style="width: 60px">
            <option value='5'>5条</option>
            <option value='10'>10条</option>
          </select>
        </h5>
      </form>
    </div>
    <!-- 全局js -->
    <script src="__STATIC__/layout/js/jquery.min.js?v=2.1.4"></script>
    <script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>
    <!-- <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script> -->
    <script src="__STATIC__/layout/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
    <!--统计代码，可删除-->
    <script src="__STATIC__/layout/js/plugins/layer/laydate/laydate.js"></script>
    <script src="__STATIC__/layout/js/contabs_sub.js"></script>
    <script>
    $(".num2").each(function(){
      if(isNaN(parseFloat($(this).html()))){
        $(this).html("");
      }else{
        $(this).html(parseFloat($(this).html()).toFixed(2));
      }
    })
        //日期范围限制
        var start1 = {
            elem: '#start1',
            format: 'YYYY/MM/DD',
           // min: laydate.now(), //设定最小日期为当前日期
            max: '2099-06-16 23:59:59', //最大日期
            istime: true,
            istoday: false,
            choose: function (datas) {
                end1.min = datas; //开始日选好后，重置结束日的最小日期
                end1.start1 = datas //将结束日的初始值设定为开始日
            }
        };
        var end1 = {
            elem: '#end1',
            format: 'YYYY/MM/DD',
            //min: laydate.now(),
            max: '2099-06-16 23:59:59',
            istime: true,
            istoday: false,
            choose: function (datas) {
                start1.max = datas; //结束日选好后，重置开始日的最大日期
            }
        };

         var start2 = {
            elem: '#start2',
            format: 'YYYY/MM/DD',
           // min: laydate.now(), //设定最小日期为当前日期
            max: '2099-06-16 23:59:59', //最大日期
            istime: true,
            istoday: false,
            choose: function (datas) {
                end2.min = datas; //开始日选好后，重置结束日的最小日期
                end2.start2 = datas //将结束日的初始值设定为开始日
            }
        };
        var end2 = {
            elem: '#end2',
            format: 'YYYY/MM/DD',
           // min: laydate.now(),
            max: '2099-06-16 23:59:59',
            istime: true,
            istoday: false,
            choose: function (datas) {
                start2.max = datas; //结束日选好后，重置开始日的最大日期
            }
        };
         var suo1 = {
            elem: '#suo1',
            format: 'YYYY/MM/DD',
            //min: laydate.now(), //设定最小日期为当前日期
            max: '2099-06-16 23:59:59', //最大日期
            istime: true,
            istoday: false,
            choose: function (datas) {
                suo2.min = datas; //开始日选好后，重置结束日的最小日期
                suo2.suo1 = datas //将结束日的初始值设定为开始日
            }
        };
        var suo2 = {
            elem: '#suo2',
            format: 'YYYY/MM/DD',
            //min: laydate.now(),
            max: '2099-06-16 23:59:59',
            istime: true,
            istoday: false,
            choose: function (datas) {
                suo1.max = datas; //结束日选好后，重置开始日的最大日期
            }
        };
         var fenTan1 = {
            elem: '#fenTan1',
            format: 'YYYY/MM/DD',
            //min: laydate.now(), //设定最小日期为当前日期
            max: '2099-06-16 23:59:59', //最大日期
            istime: true,
            istoday: false,
            choose: function (datas) {
                fenTan2.min = datas; //开始日选好后，重置结束日的最小日期
                fenTan2.fenTan1 = datas //将结束日的初始值设定为开始日
            }
        };
        var fenTan2 = {
            elem: '#suo2',
            format: 'YYYY/MM/DD',
            //min: laydate.now(),
            max: '2099-06-16 23:59:59',
            istime: true,
            istoday: false,
            choose: function (datas) {
                fenTan1.max = datas; //结束日选好后，重置开始日的最大日期
            }
        };
         laydate(start1);
        laydate(end1);
        laydate(start2);
        laydate(end2);
        laydate(fenTan1);
        laydate(fenTan2);
        laydate(suo1);
        laydate(suo2);
    </script>
</body>

</html>
